package com.sgcc.system.api;

import com.sgcc.common.core.constant.ServiceNameConstants;
import com.sgcc.common.core.web.domain.AjaxResult;
import com.sgcc.system.api.domain.SysPost;
import com.sgcc.system.api.factory.RemoteIscFallbackFactory;
import com.sgcc.system.api.factory.RemotePostFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * 用户服务
 * 
 * @author sgcc
 */
@FeignClient(contextId = "remoteIscService", value = ServiceNameConstants.ISC_SERVICE, fallbackFactory = RemoteIscFallbackFactory.class)
public interface RemoteIscService
{
	 @GetMapping(value = "/district/send")
	 public AjaxResult send();

	@GetMapping(value = "/syn/getFuncsByParentId/{iscUserid}")
	public List<String> getFuncsByParentId(@PathVariable("iscUserid") String iscUserid);
}
